/*
 * @Author: HZK
 * @Date: 2020-08-31 11:01:29
 * @LastEditTime: 2020-08-31 11:12:27
 * @LastEditors: hanfengmi
 * @Description: 
 */
function add(fn){
    return function(){
        console.log(arguments,Array.from(arguments))
        return fn.apply(null, Array.from(arguments))
    } 
}

add(function(x,y,z){console.log(x,y,z)})(1,2,3)